package com.ruoyi.system.wnjk.domain.po;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 问诊订单对象 wnjk_consultation_order
 *
 * @author ruoyi
 * @date 2025-03-13
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class WnjkConsultationOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 订单编号（唯一标识） */
    private String orderId;

    /** 异步回调流水号 */
    @Excel(name = "异步回调流水号")
    private String tradeNo;

    /** 问题描述 */
    @Excel(name = "问题描述")
    private String description;

    /** 提问方式 */
    @Excel(name = "提问方式")
    private String consultationType;

    /** 患者姓名 */
    @Excel(name = "患者姓名")
    private Long patientId;

    /** 提问时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提问时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date consultationTime;

    /** 解答时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "解答时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date answerTime;

    /** 订单状态 */
    @Excel(name = "订单状态")
    private String orderStatus;

    /** 医生编号 */
    @Excel(name = "医生编号")
    private Long doctorId;

    /** 回答内容 */
    @Excel(name = "回答内容")
    private String answerContent;

    /** 支付方式 */
    @Excel(name = "支付方式")
    private String paymentMethod;

    /** 订单金额 */
    @Excel(name = "订单金额")
    private BigDecimal orderAmount;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 逻辑删除 */
    @Excel(name = "逻辑删除")
    private Integer isDeleted;

    private String doctorName;


}
